package com.zenith.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zenith.edu.po.domain.EduLiveWatchRecord;
import com.zenith.edu.po.dto.EduLiveWatchRecordDTO;
import com.zenith.edu.po.vo.EduLiveWatchRecordVO;

import java.util.List;

public interface EduLiveWatchRecordService extends IService<EduLiveWatchRecord> {
    
    /**
     * 创建直播观看记录
     * @param dto 直播观看记录DTO
     * @return 直播观看记录VO
     */
    EduLiveWatchRecordVO createLiveWatchRecord(EduLiveWatchRecordDTO dto);
    
    /**
     * 根据ID获取直播观看记录详情
     * @param id 直播观看记录ID
     * @return 直播观看记录VO
     */
    EduLiveWatchRecordVO getLiveWatchRecordById(Long id);
    
    /**
     * 更新直播观看记录信息
     * @param dto 直播观看记录DTO
     * @return 直播观看记录VO
     */
    EduLiveWatchRecordVO updateLiveWatchRecord(EduLiveWatchRecordDTO dto);
    
    /**
     * 删除指定直播观看记录
     * @param id 直播观看记录ID
     * @return 是否删除成功
     */
    boolean deleteLiveWatchRecord(Long id);
    
    /**
     * 获取直播观看记录列表
     * @return 直播观看记录VO列表
     */
    List<EduLiveWatchRecordVO> getLiveWatchRecordList();
}